package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class StudentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStudentidIsNull() {
            addCriterion("studentId is null");
            return (Criteria) this;
        }

        public Criteria andStudentidIsNotNull() {
            addCriterion("studentId is not null");
            return (Criteria) this;
        }

        public Criteria andStudentidEqualTo(String value) {
            addCriterion("studentId =", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotEqualTo(String value) {
            addCriterion("studentId <>", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidGreaterThan(String value) {
            addCriterion("studentId >", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidGreaterThanOrEqualTo(String value) {
            addCriterion("studentId >=", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLessThan(String value) {
            addCriterion("studentId <", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLessThanOrEqualTo(String value) {
            addCriterion("studentId <=", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidLike(String value) {
            addCriterion("studentId like", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotLike(String value) {
            addCriterion("studentId not like", value, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidIn(List<String> values) {
            addCriterion("studentId in", values, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotIn(List<String> values) {
            addCriterion("studentId not in", values, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidBetween(String value1, String value2) {
            addCriterion("studentId between", value1, value2, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentidNotBetween(String value1, String value2) {
            addCriterion("studentId not between", value1, value2, "studentid");
            return (Criteria) this;
        }

        public Criteria andStudentnameIsNull() {
            addCriterion("studentName is null");
            return (Criteria) this;
        }

        public Criteria andStudentnameIsNotNull() {
            addCriterion("studentName is not null");
            return (Criteria) this;
        }

        public Criteria andStudentnameEqualTo(String value) {
            addCriterion("studentName =", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotEqualTo(String value) {
            addCriterion("studentName <>", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameGreaterThan(String value) {
            addCriterion("studentName >", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameGreaterThanOrEqualTo(String value) {
            addCriterion("studentName >=", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameLessThan(String value) {
            addCriterion("studentName <", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameLessThanOrEqualTo(String value) {
            addCriterion("studentName <=", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameLike(String value) {
            addCriterion("studentName like", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotLike(String value) {
            addCriterion("studentName not like", value, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameIn(List<String> values) {
            addCriterion("studentName in", values, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotIn(List<String> values) {
            addCriterion("studentName not in", values, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameBetween(String value1, String value2) {
            addCriterion("studentName between", value1, value2, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentnameNotBetween(String value1, String value2) {
            addCriterion("studentName not between", value1, value2, "studentname");
            return (Criteria) this;
        }

        public Criteria andStudentsexIsNull() {
            addCriterion("studentSex is null");
            return (Criteria) this;
        }

        public Criteria andStudentsexIsNotNull() {
            addCriterion("studentSex is not null");
            return (Criteria) this;
        }

        public Criteria andStudentsexEqualTo(String value) {
            addCriterion("studentSex =", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexNotEqualTo(String value) {
            addCriterion("studentSex <>", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexGreaterThan(String value) {
            addCriterion("studentSex >", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexGreaterThanOrEqualTo(String value) {
            addCriterion("studentSex >=", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexLessThan(String value) {
            addCriterion("studentSex <", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexLessThanOrEqualTo(String value) {
            addCriterion("studentSex <=", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexLike(String value) {
            addCriterion("studentSex like", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexNotLike(String value) {
            addCriterion("studentSex not like", value, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexIn(List<String> values) {
            addCriterion("studentSex in", values, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexNotIn(List<String> values) {
            addCriterion("studentSex not in", values, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexBetween(String value1, String value2) {
            addCriterion("studentSex between", value1, value2, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentsexNotBetween(String value1, String value2) {
            addCriterion("studentSex not between", value1, value2, "studentsex");
            return (Criteria) this;
        }

        public Criteria andStudentschoolIsNull() {
            addCriterion("studentSchool is null");
            return (Criteria) this;
        }

        public Criteria andStudentschoolIsNotNull() {
            addCriterion("studentSchool is not null");
            return (Criteria) this;
        }

        public Criteria andStudentschoolEqualTo(String value) {
            addCriterion("studentSchool =", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotEqualTo(String value) {
            addCriterion("studentSchool <>", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolGreaterThan(String value) {
            addCriterion("studentSchool >", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolGreaterThanOrEqualTo(String value) {
            addCriterion("studentSchool >=", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolLessThan(String value) {
            addCriterion("studentSchool <", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolLessThanOrEqualTo(String value) {
            addCriterion("studentSchool <=", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolLike(String value) {
            addCriterion("studentSchool like", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotLike(String value) {
            addCriterion("studentSchool not like", value, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolIn(List<String> values) {
            addCriterion("studentSchool in", values, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotIn(List<String> values) {
            addCriterion("studentSchool not in", values, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolBetween(String value1, String value2) {
            addCriterion("studentSchool between", value1, value2, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentschoolNotBetween(String value1, String value2) {
            addCriterion("studentSchool not between", value1, value2, "studentschool");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeIsNull() {
            addCriterion("studentCollege is null");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeIsNotNull() {
            addCriterion("studentCollege is not null");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeEqualTo(String value) {
            addCriterion("studentCollege =", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotEqualTo(String value) {
            addCriterion("studentCollege <>", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeGreaterThan(String value) {
            addCriterion("studentCollege >", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeGreaterThanOrEqualTo(String value) {
            addCriterion("studentCollege >=", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeLessThan(String value) {
            addCriterion("studentCollege <", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeLessThanOrEqualTo(String value) {
            addCriterion("studentCollege <=", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeLike(String value) {
            addCriterion("studentCollege like", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotLike(String value) {
            addCriterion("studentCollege not like", value, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeIn(List<String> values) {
            addCriterion("studentCollege in", values, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotIn(List<String> values) {
            addCriterion("studentCollege not in", values, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeBetween(String value1, String value2) {
            addCriterion("studentCollege between", value1, value2, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentcollegeNotBetween(String value1, String value2) {
            addCriterion("studentCollege not between", value1, value2, "studentcollege");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIsNull() {
            addCriterion("studentMajor is null");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIsNotNull() {
            addCriterion("studentMajor is not null");
            return (Criteria) this;
        }

        public Criteria andStudentmajorEqualTo(String value) {
            addCriterion("studentMajor =", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotEqualTo(String value) {
            addCriterion("studentMajor <>", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorGreaterThan(String value) {
            addCriterion("studentMajor >", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorGreaterThanOrEqualTo(String value) {
            addCriterion("studentMajor >=", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLessThan(String value) {
            addCriterion("studentMajor <", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLessThanOrEqualTo(String value) {
            addCriterion("studentMajor <=", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorLike(String value) {
            addCriterion("studentMajor like", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotLike(String value) {
            addCriterion("studentMajor not like", value, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorIn(List<String> values) {
            addCriterion("studentMajor in", values, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotIn(List<String> values) {
            addCriterion("studentMajor not in", values, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorBetween(String value1, String value2) {
            addCriterion("studentMajor between", value1, value2, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentmajorNotBetween(String value1, String value2) {
            addCriterion("studentMajor not between", value1, value2, "studentmajor");
            return (Criteria) this;
        }

        public Criteria andStudentclasssIsNull() {
            addCriterion("studentClasss is null");
            return (Criteria) this;
        }

        public Criteria andStudentclasssIsNotNull() {
            addCriterion("studentClasss is not null");
            return (Criteria) this;
        }

        public Criteria andStudentclasssEqualTo(String value) {
            addCriterion("studentClasss =", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssNotEqualTo(String value) {
            addCriterion("studentClasss <>", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssGreaterThan(String value) {
            addCriterion("studentClasss >", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssGreaterThanOrEqualTo(String value) {
            addCriterion("studentClasss >=", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssLessThan(String value) {
            addCriterion("studentClasss <", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssLessThanOrEqualTo(String value) {
            addCriterion("studentClasss <=", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssLike(String value) {
            addCriterion("studentClasss like", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssNotLike(String value) {
            addCriterion("studentClasss not like", value, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssIn(List<String> values) {
            addCriterion("studentClasss in", values, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssNotIn(List<String> values) {
            addCriterion("studentClasss not in", values, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssBetween(String value1, String value2) {
            addCriterion("studentClasss between", value1, value2, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclasssNotBetween(String value1, String value2) {
            addCriterion("studentClasss not between", value1, value2, "studentclasss");
            return (Criteria) this;
        }

        public Criteria andStudentclassIsNull() {
            addCriterion("studentClass is null");
            return (Criteria) this;
        }

        public Criteria andStudentclassIsNotNull() {
            addCriterion("studentClass is not null");
            return (Criteria) this;
        }

        public Criteria andStudentclassEqualTo(String value) {
            addCriterion("studentClass =", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotEqualTo(String value) {
            addCriterion("studentClass <>", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassGreaterThan(String value) {
            addCriterion("studentClass >", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassGreaterThanOrEqualTo(String value) {
            addCriterion("studentClass >=", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassLessThan(String value) {
            addCriterion("studentClass <", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassLessThanOrEqualTo(String value) {
            addCriterion("studentClass <=", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassLike(String value) {
            addCriterion("studentClass like", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotLike(String value) {
            addCriterion("studentClass not like", value, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassIn(List<String> values) {
            addCriterion("studentClass in", values, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotIn(List<String> values) {
            addCriterion("studentClass not in", values, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassBetween(String value1, String value2) {
            addCriterion("studentClass between", value1, value2, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentclassNotBetween(String value1, String value2) {
            addCriterion("studentClass not between", value1, value2, "studentclass");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberIsNull() {
            addCriterion("studentPhoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberIsNotNull() {
            addCriterion("studentPhoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberEqualTo(String value) {
            addCriterion("studentPhoneNumber =", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberNotEqualTo(String value) {
            addCriterion("studentPhoneNumber <>", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberGreaterThan(String value) {
            addCriterion("studentPhoneNumber >", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberGreaterThanOrEqualTo(String value) {
            addCriterion("studentPhoneNumber >=", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberLessThan(String value) {
            addCriterion("studentPhoneNumber <", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberLessThanOrEqualTo(String value) {
            addCriterion("studentPhoneNumber <=", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberLike(String value) {
            addCriterion("studentPhoneNumber like", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberNotLike(String value) {
            addCriterion("studentPhoneNumber not like", value, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberIn(List<String> values) {
            addCriterion("studentPhoneNumber in", values, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberNotIn(List<String> values) {
            addCriterion("studentPhoneNumber not in", values, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberBetween(String value1, String value2) {
            addCriterion("studentPhoneNumber between", value1, value2, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentphonenumberNotBetween(String value1, String value2) {
            addCriterion("studentPhoneNumber not between", value1, value2, "studentphonenumber");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailIsNull() {
            addCriterion("studentQQMail is null");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailIsNotNull() {
            addCriterion("studentQQMail is not null");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailEqualTo(String value) {
            addCriterion("studentQQMail =", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailNotEqualTo(String value) {
            addCriterion("studentQQMail <>", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailGreaterThan(String value) {
            addCriterion("studentQQMail >", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailGreaterThanOrEqualTo(String value) {
            addCriterion("studentQQMail >=", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailLessThan(String value) {
            addCriterion("studentQQMail <", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailLessThanOrEqualTo(String value) {
            addCriterion("studentQQMail <=", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailLike(String value) {
            addCriterion("studentQQMail like", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailNotLike(String value) {
            addCriterion("studentQQMail not like", value, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailIn(List<String> values) {
            addCriterion("studentQQMail in", values, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailNotIn(List<String> values) {
            addCriterion("studentQQMail not in", values, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailBetween(String value1, String value2) {
            addCriterion("studentQQMail between", value1, value2, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentqqmailNotBetween(String value1, String value2) {
            addCriterion("studentQQMail not between", value1, value2, "studentqqmail");
            return (Criteria) this;
        }

        public Criteria andStudentremarksIsNull() {
            addCriterion("studentRemarks is null");
            return (Criteria) this;
        }

        public Criteria andStudentremarksIsNotNull() {
            addCriterion("studentRemarks is not null");
            return (Criteria) this;
        }

        public Criteria andStudentremarksEqualTo(String value) {
            addCriterion("studentRemarks =", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksNotEqualTo(String value) {
            addCriterion("studentRemarks <>", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksGreaterThan(String value) {
            addCriterion("studentRemarks >", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksGreaterThanOrEqualTo(String value) {
            addCriterion("studentRemarks >=", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksLessThan(String value) {
            addCriterion("studentRemarks <", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksLessThanOrEqualTo(String value) {
            addCriterion("studentRemarks <=", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksLike(String value) {
            addCriterion("studentRemarks like", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksNotLike(String value) {
            addCriterion("studentRemarks not like", value, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksIn(List<String> values) {
            addCriterion("studentRemarks in", values, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksNotIn(List<String> values) {
            addCriterion("studentRemarks not in", values, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksBetween(String value1, String value2) {
            addCriterion("studentRemarks between", value1, value2, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentremarksNotBetween(String value1, String value2) {
            addCriterion("studentRemarks not between", value1, value2, "studentremarks");
            return (Criteria) this;
        }

        public Criteria andStudentidcardIsNull() {
            addCriterion("studentIdCard is null");
            return (Criteria) this;
        }

        public Criteria andStudentidcardIsNotNull() {
            addCriterion("studentIdCard is not null");
            return (Criteria) this;
        }

        public Criteria andStudentidcardEqualTo(String value) {
            addCriterion("studentIdCard =", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardNotEqualTo(String value) {
            addCriterion("studentIdCard <>", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardGreaterThan(String value) {
            addCriterion("studentIdCard >", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardGreaterThanOrEqualTo(String value) {
            addCriterion("studentIdCard >=", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardLessThan(String value) {
            addCriterion("studentIdCard <", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardLessThanOrEqualTo(String value) {
            addCriterion("studentIdCard <=", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardLike(String value) {
            addCriterion("studentIdCard like", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardNotLike(String value) {
            addCriterion("studentIdCard not like", value, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardIn(List<String> values) {
            addCriterion("studentIdCard in", values, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardNotIn(List<String> values) {
            addCriterion("studentIdCard not in", values, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardBetween(String value1, String value2) {
            addCriterion("studentIdCard between", value1, value2, "studentidcard");
            return (Criteria) this;
        }

        public Criteria andStudentidcardNotBetween(String value1, String value2) {
            addCriterion("studentIdCard not between", value1, value2, "studentidcard");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}